<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Widget
 *
 * @author Sony
 */
class Product_Widgets_Search_Widget extends Tomato_Widget{
    
    protected function _prepareShow() {
        $categoryModel = Rabbit_Model_Factory::getInstance()->setModule('category')->getCategoryModel();
        $categories = $categoryModel->getTree('product');
        $this->_view->assign('categories', $categories);

    }
}

?>
